package com.njtoyo.taxi.admin.rest.wrapper.business.canton;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

@ApiModel("司机、乘客运营区创建模型")
@Data
public class RegionCreateWrapper {

    @ApiModelProperty("运营区名称")
    @NotBlank(message = "运营区名称不能为空")
    private String name;

    @ApiModelProperty(value = "地区ids")
    @NotNull(message = "地区ids不能为空")
    private List<Long> areaIds;
}
